<?php
include"config.php";

	$username =$_POST['username'];
	$password = md5($_POST['password']);
	$nama = $_POST['nama'];
	$level = $_POST['level'];
	$status = $_POST['status'];
	
			$sql="insert into tbl_user(id_user, username, password, nama, level, status)values('', '$username', '$password', '$nama', '$level', '$status')";
			$res=mysql_query($sql) or die (mysql_error());
			
			header("location:index.php?page=user");
?>